package cn.chuxing.rpc.service;

import cn.chuxing.pl.common.annotation.BasicService;
import cn.chuxing.pl.common.base.BaseMapper;
import cn.chuxing.pl.common.base.BaseServiceImpl;
import cn.chuxing.dao.mapper.PlRolePermissionMapper;
import cn.chuxing.dao.model.PlRolePermission;
import cn.chuxing.dao.model.PlRolePermissionExample;
import cn.chuxing.rpc.api.PlRolePermissionService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
* PlRolePermissionService实现
* Created by Cooper on 2018/1/15.
*/
@Service
@Transactional
@BasicService
public class PlRolePermissionServiceImpl extends BaseServiceImpl<PlRolePermission, PlRolePermissionExample> implements PlRolePermissionService {

    private static final Logger LOGGER = LoggerFactory.getLogger(PlRolePermissionServiceImpl.class);

    @Autowired
    private PlRolePermissionMapper plRolePermissionMapper;

    @Override
    public BaseMapper<PlRolePermission, PlRolePermissionExample> getMapper() {
        return plRolePermissionMapper;
    }
}